import main from '@/view/main'

export default {
    path: '/studentManage',
    component: main,
    meta: {
        title: '学生管理'
    },
    children: [
        {
            meta: {
                title: '学生管理'
            },
            path: ':classId/list',
            name: 'stuManageList',
            props: true,
            component: () => import('./student-list')
        },
        {
            meta: {
                title: '新建学生'
            },
            path: ':classId/add',
            name: 'stuManageAdd',
            props: true,
            component: () => import('./student-add')
        },
        {
            meta: {
                title: '修改学生'
            },
            path: ':classId/edit/:id',
            name: 'stuManageEdit',
            props: true,
            component: () => import('./student-edit')
        }
    ]
}
